<template>
    <el-tabs v-model="activeName" class="site-tab">
      <el-tab-pane label="课程" name="1">
        <Course/>
      </el-tab-pane>
      <el-tab-pane label="题库" name="2">
        <Item/>
      </el-tab-pane>
      <el-tab-pane label="默认图片" name="3">
        <Img/>
      </el-tab-pane>
      <el-tab-pane label="班级" name="4">
        <Cless/>
      </el-tab-pane>
    </el-tabs>
</template>

<script>
import Course from "./components/courseset/kecheng"; //课程
import Item from "./components/courseset/tiku"; //题库
import Img from "./components/courseset/tupian"; //图片
import Cless from "./components/courseset/banji"; //班级
export default {
  components: {
    Course,
    Item,
    Img,
    Cless
  },
  data() {
    return {
      activeName: "1"
    };
  }
};
</script>

<style lang="scss">
.site-tab {
  width: 100%;
  padding: 0 20px;
  box-sizing: border-box;
  margin-top: 10px;
}
</style>
